package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 平台画廊对象 pc_platform_gallery
 * 
 * @author ruoyi
 */
public class PcPlatformGallery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片ID */
    @Excel(name = "图片ID", cellType = Excel.ColumnType.NUMERIC)
    private Long galleryId;

    /** 上传用户ID */
    @Excel(name = "上传用户ID", cellType = Excel.ColumnType.NUMERIC)
    private Long userId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imageUrl;

    /** 图片类型（0图片 1文字） */
    @Excel(name = "图片类型", readConverterExp = "0=图片,1=文字")
    private String imageType;

    /** 文字内容 */
    private String content;

    /** 浏览次数 */
    @Excel(name = "浏览次数", cellType = Excel.ColumnType.NUMERIC)
    private Integer viewCount;

    /** 下载次数 */
    @Excel(name = "下载次数", cellType = Excel.ColumnType.NUMERIC)
    private Integer downloadCount;

    /** 点赞次数 */
    @Excel(name = "点赞次数", cellType = Excel.ColumnType.NUMERIC)
    private Integer likeCount;

    /** 是否推荐（0否 1是） */
    @Excel(name = "是否推荐", readConverterExp = "0=否,1=是")
    private String isRecommend;

    /** 排序顺序 */
    @Excel(name = "排序顺序", cellType = Excel.ColumnType.NUMERIC)
    private Integer sortOrder;

    /** 状态（0正常 1删除） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=删除")
    private String status;

    public void setGalleryId(Long galleryId) 
    {
        this.galleryId = galleryId;
    }

    public Long getGalleryId() 
    {
        return galleryId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setImageType(String imageType) 
    {
        this.imageType = imageType;
    }

    public String getImageType() 
    {
        return imageType;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setViewCount(Integer viewCount) 
    {
        this.viewCount = viewCount;
    }

    public Integer getViewCount() 
    {
        return viewCount;
    }

    public void setDownloadCount(Integer downloadCount) 
    {
        this.downloadCount = downloadCount;
    }

    public Integer getDownloadCount() 
    {
        return downloadCount;
    }

    public void setLikeCount(Integer likeCount) 
    {
        this.likeCount = likeCount;
    }

    public Integer getLikeCount() 
    {
        return likeCount;
    }

    public void setIsRecommend(String isRecommend) 
    {
        this.isRecommend = isRecommend;
    }

    public String getIsRecommend() 
    {
        return isRecommend;
    }

    public void setSortOrder(Integer sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Integer getSortOrder() 
    {
        return sortOrder;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("galleryId", getGalleryId())
            .append("userId", getUserId())
            .append("imageUrl", getImageUrl())
            .append("imageType", getImageType())
            .append("content", getContent())
            .append("viewCount", getViewCount())
            .append("downloadCount", getDownloadCount())
            .append("likeCount", getLikeCount())
            .append("isRecommend", getIsRecommend())
            .append("sortOrder", getSortOrder())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}

